package ac.you.api.command.t;

import ac.you.api.command.Command;

public class LimitCombined {
    private final int[] limit;
    private final String permission;
    private final Command.Execute a;
    private final boolean asyn;

    public LimitCombined(int[] limit, String permission, Command.Execute a, boolean asyn) {
        this.limit = limit;
        this.permission = permission;
        this.a = a;
        this.asyn = asyn;
    }

    public int[] limit() {
        return limit;
    }

    public String permission() {
        return permission;
    }

    public Command.Execute execute() {
        return a;
    }

    public boolean isAsyn() {
        return asyn;
    }
}
